import Vue from 'vue'
import Router from 'vue-router'
import { routers } from './routers'

Vue.use(Router)

const router = new Router({
  // linkExactActiveClass: 'currentStyle', //全局配置 精确激活的默认的 class
  mode: 'history',  //去掉url中的#
  routes: routers
})

export default router